package com.mt.vsphere.business.vsphere;

import com.vmware.vim25.ManagedObjectReference;
import com.vmware.vim25.ObjectContent;
import com.vmware.vim25.VirtualMachineSummary;

import java.util.List;

public class VMAttr {

    public static Object getAttr(VCenterConnectHelper connectHelper,ManagedObjectReference objectReference) throws Exception {
        String name = VCenterMobHelper.getObjectNameByMor(connectHelper, objectReference);
        return  VCenterMobHelper.getOneAttrInObj(connectHelper,objectReference,"summary");
    }

}
